package com.pig4cloud.pig.hu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "客户")
@TableName("car_customer")
public class Customer {

	@TableId(value = "customer_id", type = IdType.ASSIGN_ID)
	@Schema(description = "部门id")
	private Long customerId;


	@Schema(description = "客户名称")
	private String customerName;


	@Schema(description = "客户电话")
	private String phone;

	@TableField(value = "identity_card")
	@Schema(description = "客户身份证")
	private String identityCard;

	@TableField(value = "gender")
	@Schema(description = "客户性别")
	private String gender;

	@TableField(exist = false)
	private Integer orderCount;

}
